<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>IgH EtherCAT Master: ec_fsm_coe Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">IgH EtherCAT Master
   &#160;<span id="projectnumber">1.5.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('structec__fsm__coe.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">ec_fsm_coe Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Finite state machines for the CANopen over EtherCAT protocol.  
 <a href="structec__fsm__coe.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a52d4a5703f091adfb825f6a9c313cee3"><td class="memItemLeft" align="right" valign="top"><a id="a52d4a5703f091adfb825f6a9c313cee3"></a>
<a class="el" href="globals_8h.html#a8d9ffff7dbe1babaa4786a63f2860d57">ec_slave_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structec__fsm__coe.html#a52d4a5703f091adfb825f6a9c313cee3">slave</a></td></tr>
<tr class="memdesc:a52d4a5703f091adfb825f6a9c313cee3"><td class="mdescLeft">&#160;</td><td class="mdescRight">slave the FSM runs on <br /></td></tr>
<tr class="separator:a52d4a5703f091adfb825f6a9c313cee3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb93652dd379136a6db678b3b46add0f"><td class="memItemLeft" align="right" valign="top"><a id="aeb93652dd379136a6db678b3b46add0f"></a>
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structec__fsm__coe.html#aeb93652dd379136a6db678b3b46add0f">retries</a></td></tr>
<tr class="memdesc:aeb93652dd379136a6db678b3b46add0f"><td class="mdescLeft">&#160;</td><td class="mdescRight">retries upon datagram timeout <br /></td></tr>
<tr class="separator:aeb93652dd379136a6db678b3b46add0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a437c0840edb8c817d7602da24eeea549"><td class="memItemLeft" align="right" valign="top"><a id="a437c0840edb8c817d7602da24eeea549"></a>
void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structec__fsm__coe.html#a437c0840edb8c817d7602da24eeea549">state</a> )(<a class="el" href="fsm__coe_8h.html#a734dfc127f55aed3a16529febddd1771">ec_fsm_coe_t</a> *, <a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *)</td></tr>
<tr class="memdesc:a437c0840edb8c817d7602da24eeea549"><td class="mdescLeft">&#160;</td><td class="mdescRight">CoE state function. <br /></td></tr>
<tr class="separator:a437c0840edb8c817d7602da24eeea549"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1de20f618cb8600ef37e05cd909ea4cf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structec__fsm__coe.html#a1de20f618cb8600ef37e05cd909ea4cf">datagram</a></td></tr>
<tr class="memdesc:a1de20f618cb8600ef37e05cd909ea4cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Datagram used in last step.  <a href="#a1de20f618cb8600ef37e05cd909ea4cf">More...</a><br /></td></tr>
<tr class="separator:a1de20f618cb8600ef37e05cd909ea4cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acae779843d2dde4e1a02f4781d259d46"><td class="memItemLeft" align="right" valign="top">unsigned long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structec__fsm__coe.html#acae779843d2dde4e1a02f4781d259d46">jiffies_start</a></td></tr>
<tr class="memdesc:acae779843d2dde4e1a02f4781d259d46"><td class="mdescLeft">&#160;</td><td class="mdescRight">CoE timestamp.  <a href="#acae779843d2dde4e1a02f4781d259d46">More...</a><br /></td></tr>
<tr class="separator:acae779843d2dde4e1a02f4781d259d46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05afb369519ffb1dd6c0df68a4c6a127"><td class="memItemLeft" align="right" valign="top"><a id="a05afb369519ffb1dd6c0df68a4c6a127"></a>
<a class="el" href="sdo__entry_8h.html#a8da2c87733474a881be045798f0f7652">ec_sdo_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structec__fsm__coe.html#a05afb369519ffb1dd6c0df68a4c6a127">sdo</a></td></tr>
<tr class="memdesc:a05afb369519ffb1dd6c0df68a4c6a127"><td class="mdescLeft">&#160;</td><td class="mdescRight">current SDO <br /></td></tr>
<tr class="separator:a05afb369519ffb1dd6c0df68a4c6a127"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafeafb472a372377a5c4822823b831be"><td class="memItemLeft" align="right" valign="top"><a id="aafeafb472a372377a5c4822823b831be"></a>
uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structec__fsm__coe.html#aafeafb472a372377a5c4822823b831be">subindex</a></td></tr>
<tr class="memdesc:aafeafb472a372377a5c4822823b831be"><td class="mdescLeft">&#160;</td><td class="mdescRight">current subindex <br /></td></tr>
<tr class="separator:aafeafb472a372377a5c4822823b831be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a039da8218be486849bd275bf1f580e1e"><td class="memItemLeft" align="right" valign="top"><a id="a039da8218be486849bd275bf1f580e1e"></a>
<a class="el" href="group__ApplicationInterface.html#ga557aaf4c32cb56eee5e76fb6063628db">ec_sdo_request_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structec__fsm__coe.html#a039da8218be486849bd275bf1f580e1e">request</a></td></tr>
<tr class="memdesc:a039da8218be486849bd275bf1f580e1e"><td class="mdescLeft">&#160;</td><td class="mdescRight">SDO request. <br /></td></tr>
<tr class="separator:a039da8218be486849bd275bf1f580e1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac87498148a6733460b858339b554f0ce"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structec__fsm__coe.html#ac87498148a6733460b858339b554f0ce">complete_size</a></td></tr>
<tr class="memdesc:ac87498148a6733460b858339b554f0ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used when segmenting.  <a href="#ac87498148a6733460b858339b554f0ce">More...</a><br /></td></tr>
<tr class="separator:ac87498148a6733460b858339b554f0ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca395e10ef3f667a25fe05e70ce38d6b"><td class="memItemLeft" align="right" valign="top"><a id="aca395e10ef3f667a25fe05e70ce38d6b"></a>
uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structec__fsm__coe.html#aca395e10ef3f667a25fe05e70ce38d6b">toggle</a></td></tr>
<tr class="memdesc:aca395e10ef3f667a25fe05e70ce38d6b"><td class="mdescLeft">&#160;</td><td class="mdescRight">toggle bit for segment commands <br /></td></tr>
<tr class="separator:aca395e10ef3f667a25fe05e70ce38d6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6154dddb5d2a111661d2ecbc866a66d"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structec__fsm__coe.html#ae6154dddb5d2a111661d2ecbc866a66d">offset</a></td></tr>
<tr class="memdesc:ae6154dddb5d2a111661d2ecbc866a66d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data offset during segmented download.  <a href="#ae6154dddb5d2a111661d2ecbc866a66d">More...</a><br /></td></tr>
<tr class="separator:ae6154dddb5d2a111661d2ecbc866a66d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90921faef4f8ccada6bf621357f070d2"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structec__fsm__coe.html#a90921faef4f8ccada6bf621357f070d2">remaining</a></td></tr>
<tr class="memdesc:a90921faef4f8ccada6bf621357f070d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Remaining bytes during segmented download.  <a href="#a90921faef4f8ccada6bf621357f070d2">More...</a><br /></td></tr>
<tr class="separator:a90921faef4f8ccada6bf621357f070d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad25b5b2158356b9ed09fe6d3cd21b99c"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structec__fsm__coe.html#ad25b5b2158356b9ed09fe6d3cd21b99c">segment_size</a></td></tr>
<tr class="memdesc:ad25b5b2158356b9ed09fe6d3cd21b99c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Current segment size.  <a href="#ad25b5b2158356b9ed09fe6d3cd21b99c">More...</a><br /></td></tr>
<tr class="separator:ad25b5b2158356b9ed09fe6d3cd21b99c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Finite state machines for the CANopen over EtherCAT protocol. </p>

<p class="definition">Definition at line <a class="el" href="fsm__coe_8h_source.html#l00052">52</a> of file <a class="el" href="fsm__coe_8h_source.html">fsm_coe.h</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="a1de20f618cb8600ef37e05cd909ea4cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1de20f618cb8600ef37e05cd909ea4cf">&#9670;&nbsp;</a></span>datagram</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a>* ec_fsm_coe::datagram</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Datagram used in last step. </p>

<p class="definition">Definition at line <a class="el" href="fsm__coe_8h_source.html#l00057">57</a> of file <a class="el" href="fsm__coe_8h_source.html">fsm_coe.h</a>.</p>

</div>
</div>
<a id="acae779843d2dde4e1a02f4781d259d46"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acae779843d2dde4e1a02f4781d259d46">&#9670;&nbsp;</a></span>jiffies_start</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned long ec_fsm_coe::jiffies_start</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>CoE timestamp. </p>

<p class="definition">Definition at line <a class="el" href="fsm__coe_8h_source.html#l00058">58</a> of file <a class="el" href="fsm__coe_8h_source.html">fsm_coe.h</a>.</p>

</div>
</div>
<a id="ac87498148a6733460b858339b554f0ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac87498148a6733460b858339b554f0ce">&#9670;&nbsp;</a></span>complete_size</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t ec_fsm_coe::complete_size</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Used when segmenting. </p>

<p class="definition">Definition at line <a class="el" href="fsm__coe_8h_source.html#l00062">62</a> of file <a class="el" href="fsm__coe_8h_source.html">fsm_coe.h</a>.</p>

</div>
</div>
<a id="ae6154dddb5d2a111661d2ecbc866a66d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae6154dddb5d2a111661d2ecbc866a66d">&#9670;&nbsp;</a></span>offset</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t ec_fsm_coe::offset</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Data offset during segmented download. </p>

<p class="definition">Definition at line <a class="el" href="fsm__coe_8h_source.html#l00064">64</a> of file <a class="el" href="fsm__coe_8h_source.html">fsm_coe.h</a>.</p>

</div>
</div>
<a id="a90921faef4f8ccada6bf621357f070d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a90921faef4f8ccada6bf621357f070d2">&#9670;&nbsp;</a></span>remaining</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t ec_fsm_coe::remaining</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Remaining bytes during segmented download. </p>

<p class="definition">Definition at line <a class="el" href="fsm__coe_8h_source.html#l00065">65</a> of file <a class="el" href="fsm__coe_8h_source.html">fsm_coe.h</a>.</p>

</div>
</div>
<a id="ad25b5b2158356b9ed09fe6d3cd21b99c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad25b5b2158356b9ed09fe6d3cd21b99c">&#9670;&nbsp;</a></span>segment_size</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t ec_fsm_coe::segment_size</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Current segment size. </p>

<p class="definition">Definition at line <a class="el" href="fsm__coe_8h_source.html#l00066">66</a> of file <a class="el" href="fsm__coe_8h_source.html">fsm_coe.h</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="structec__fsm__coe.html">ec_fsm_coe</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
